using UnityEngine;


namespace Brick 
{
	public class LooseCollider : MonoBehaviour
	{
		private LevelManager levelManager;

		private void Start()
		{
			levelManager = UnityEngine.Object.FindObjectOfType<LevelManager>();
		}

		private void OnTriggerEnter2D(Collider2D collider)
		{
			levelManager.LoadLevel("LoseMenu");
		}
	}
}


